package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {

    /*
    * 统计营业额数据
    * */
    TurnoverReportVO getTurenover(LocalDate begin, LocalDate end);

    /*
     * 统计用户数据
     * */
    UserReportVO getUserstatistics(LocalDate begin, LocalDate end);
    /*
    * 统计订单数据
    * */
    OrderReportVO getordersstatistics(LocalDate begin, LocalDate end);
/*
* 销量前10的商品
* */
    SalesTop10ReportVO top10statistics(LocalDate begin, LocalDate end);
/*
* 导出Excel表格
* */
    void export(HttpServletResponse response);
}
